:root {
	--font-size: 20px;
	--light-font-color: #000;
	--light-color: #f8f7b6;
	--dark-color: #303133;
	--dark-font-color: #999999;
	--opacity: 0.8;
	--font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
}
* {
	padding: 0;
	margin: 0;
	box-sizing: border-box;
}
ul,
li {
	list-style: none;
}

body {
	color: var(--light-font-color);
	background-color: var(--light-color);
	opacity: var(--opacity);
	overflow: hidden;
	font-family: var(--font-family);
}
body.dark {
	background-color: var(--dark-color);
}
#container {
	/* win支持不好,不支持自定义光标样式 */
	/* -webkit-app-region: drag; */
	padding: 10px;
	height: calc(100vh - 30px);
	box-shadow: 5px 10px 12px -3px #b5b4b3;
}

#content {
	outline: none;
	resize: none;
	border: none;
	width: 100%;
	/*JS计算宽度后再设置*/
	height: 0px;
	background: transparent;
	font-size: var(--font-size);
	-webkit-app-region: no-drag;
	color: inherit;
	position: relative;
	font-family: var(--font-family);
}
body.dark #content {
	color: var(--dark-font-color);
}
#content::-webkit-scrollbar {
	width: 4px;
	height: 1px;
}
#content::-webkit-scrollbar-thumb {
	border-radius: 20px;
	box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
	background: rgba(0, 0, 0, 0.5);
}
#content::-webkit-scrollbar-track {
	background: rgba(0, 0, 0, 0);
}

#option {
	position: absolute;
	top: 50%;
	right: 5px;
	transform: translateY(-50%);
	background-color: rgba(255, 255, 255, 0.5);
	line-height: 2em;
	padding: 10px;
	border-radius: 5px;
	display: none;
	-webkit-app-region: no-drag;
	cursor: auto;
}

.center {
	text-align: center;
}

.mt {
	margin-top: 0.5em;
}

.ldg-select {
	position: relative;
	display: inline-block;
}

.ldg-select-input {
	width: 200px;
	padding: 5px;
	border: 1px solid #ccc;
	cursor: pointer;
}

.ldg-select-dropdown {
	position: absolute;
	width: 100%;
	max-height: 200px;
	overflow-y: auto;
	border: 1px solid #ccc;
	background-color: #fff;
	display: none;
}

.ldg-select-dropdown > * {
	padding: 5px;
	cursor: pointer;
}

.ldg-select-dropdown > *:hover {
	background-color: #f2f2f2;
}

.ldg-select-dropdown > *.selected {
	background-color: #ccc;
}
.ldg-select {
	position: relative;
	display: inline-block;
}

.ldg-select-input {
	width: 200px;
	padding: 5px;
	border: 1px solid #ccc;
	cursor: pointer;
}

.ldg-select-dropdown {
	position: absolute;
	width: 100%;
	max-height: 200px;
	overflow-y: auto;
	border: 1px solid #ccc;
	background-color: #fff;
	display: none;
}

.ldg-select-dropdown > * {
	padding: 5px;
	cursor: pointer;
}

.ldg-select-dropdown > *:hover {
	background-color: #f2f2f2;
}

.ldg-select-dropdown > *.selected {
	background-color: #ccc;
}
.ldg-select {
	position: relative;
	display: inline-block;
}

.ldg-select-input {
	width: 200px;
	padding: 5px;
	border: 1px solid #ccc;
	cursor: pointer;
}

.ldg-select-dropdown {
	position: absolute;
	width: 100%;
	max-height: 200px;
	overflow-y: auto;
	border: 1px solid #ccc;
	background-color: #fff;
	display: none;
}

.ldg-select-dropdown > * {
	padding: 5px;
	cursor: pointer;
}

.ldg-select-dropdown > *:hover {
	background-color: #f2f2f2;
}

.ldg-select-dropdown > *.selected {
	background-color: #ccc;
}

#top-bar {
	height: 30px;
	background: rgba(0, 0, 0, 0.4);
	color: #fff;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	padding: 0 10px;
	cursor: move;
	user-select: none;
	display: flex;
	z-index: 2;
}

.top-bar-icon {
	cursor: pointer;
	width: 16px;
	height: 16px;
	--color: #fff;
	margin-left: 10px;
	transition: all;
	transition-duration: 200ms;
}
.top-bar-icon:hover {
	--color: #ff3d00;
	transform: scale(1.1);
}
.top-bar-icon:first-of-type {
	margin-left: 0px;
}
#always-on-top-btn.active {
	--color: #ff3d00;
	transform: rotate(-45deg);
}
@media (width <= 185px) {
	#soft-title {
		display: none;
	}
}
